#include "squarecurve.h"

namespace CurveEditor {

SquareCurve::SquareCurve():
    AbstractCurve(CURVE_SQUARE)
{

}

SquareCurve::~SquareCurve()
{

}

RandomCurve SquareCurve::toRandomCurve()
{
    RandomCurve randCurve;
    // TODO: change curve to random type

    return randCurve;
}

void SquareCurve::validate()
{

}

bool SquareCurve::isValid()
{
    bool valid = true;
    // TODO: checking if curve's parameter is ok

    return valid;
}

} // CurveEditor
